/*
 * @Author: zhangxin 411020991@qq.com
 * @Date: 2023-04-19 16:59:01
 * @LastEditors: zhangxin 411020991@qq.com
 * @LastEditTime: 2023-04-19 17:36:25
 * @FilePath: \main\src\components\Breadcrumb\index.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React, { useEffect, useState } from 'react'
import { Breadcrumb } from 'antd';
const index = (props) => {
    console.log('ili',JSON.parse(localStorage.bread));
    console.log('lll',props.bread);
   let data=[{title:localStorage.nav}]
   data.push(...JSON.parse(localStorage.bread))
    return (
        <div> <Breadcrumb
            items={data}
        /></div>
    )
}

export default index